import request from '@/utils/request'


/*TODo 注意,如果是psot请求,不加params  ,get请求需要加上*/

export function logout() {
  return request({
    url: '/logout',
    method: 'post'
  })
}

export function sortPage(current,size) {
  let data = {
    "current":current,
    "size":size
  };
  return request({
    url: '/blogSort/page',
    method: 'get',
    data
  })
}

